package edu.polsl.bio.str.manager.service;

import edu.polsl.bio.str.common.exception.ManagerException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * //todo class description
 * <p/>
 * Created on: Jun 14, 2011 10:43:15 AM <br/>
 * <a href="http://www.polsl.pl">www.polsl.pl</a>
 *
 * @author lukasz.olczak@polsl.pl
 */
public abstract class AbstractService {
  /**
   * slf4j Logger.
   */
  private static final Logger log = LoggerFactory.getLogger(AbstractService.class.getName());

  protected ManagerException createManagerException(Exception e) {
    return new ManagerException("Exception with msg: \'" + e.getMessage() + "\' occurred on server side");
  }
}
